/* author:https://codepen.io/ecemgo/pen/vYVWKXG
Ecem Gokdogan  */

:root {
  --text-clr: #e0e8ef;
  --error-clr: #b02546;
  --success-clr: #2ecc71;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../image/photo_2024-11-21_02-49-08_LE_upscale_Smart\ Enhance\ x4.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 100vh;
  direction: rtl;
  opacity: 1;
}

#signin {
  background: rgba(200, 200, 224, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(200px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 5px;
  overflow: hidden;
  width: min(420px, 95%);
}

h1 {
  font-size: 1.6rem;
  color: black;
  text-align: center;
  padding: 20px 40px 0;
}

/* FORM  */

form {
  padding: 30px 40px;
}

label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 500;
  color: black;
  margin-bottom: 8px;
}

input {
  width: 100%;
  background: transparent;
  color: #000000b8;
  font-size: 0.8rem;
  font-weight: 500;
  outline: 2px solid #a2b7d3;
  border-radius: 4px;
  border: 0;
  padding: 10px;
  margin-bottom: 5px;
  transition: all 0.2s;
}

input:focus {
  outline: 3px dotted var(--text-clr);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: var(--text-clr);
}

.input-control.success input {
  outline: 3px dotted var(--success-clr);
}

.input-control.error input {
  outline: 3px dotted var(--error-clr);
}

.input-control {
  position: relative;
  margin-bottom: 20px;
}

.input-control i {
  position: absolute;
  top: 40px;
  right: 10px;
  visibility: hidden;
}

.input-control.success i.fa-check-circle {
  color: var(--success-clr);
  visibility: visible;
}

.input-control.error i.fa-exclamation-circle {
  color: var(--error-clr);
  visibility: visible;
}

.input-control small {
  position: absolute;
  bottom: 0;
  left: 0;
  font-weight: 800;
  visibility: hidden;
}

.input-control.error small {
  color: var(--error-clr);
  visibility: visible;
}

button {
  width: 100%;
  background: #212bb37f;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  padding: 16px;
  margin-top: 10px;
  border-radius: 5px;
  border: 0;
  cursor: pointer;
  transition: all 0.4s linear;
  border-radius: 10px !important;
}

button:hover {
  background: #212bb37f;
  transition: 0.3s;
  padding: 20px;
}

#email1 {
  font-size: 18px;
}

#password1 {
  font-size: 18px;
}

/* SHOW MESSAGE AFTER SUBMITTING  */

.message {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-clr);
  text-align: center;
  text-transform: uppercase;
  padding: 50px 30px;
  animation: fade-in 1.5s ease-in-out forwards alternate;
}

.hidden {
  display: none;
}

@keyframes fade-in {
  from {
    transform: rotate(0deg) scale(0) skew(0deg) translateY(30px);
  }

  to {
    transform: rotate(0deg) scale(1) skew(0deg) translateY(0);
  }
}

#small {
  position: relative;
  right: 0px;
}

#error {
  position: relative;
  right: 114px;
  top: -34px;
}

#error1 {
  position: relative;
  right: 138px;
  top: -34px;
}

#confrim {
  position: absolute;
  right: 310px;
}

#sabt1 {
  display: flex;
  justify-content: space-between;
  padding: 10px;
}

#sabt {
  text-decoration: none;
  color: #e0e8ef;
  font-size: 18.5px;
}

#sabt:hover {
  color: #000;
  transition: 0.3s;
}

#forgot {
  text-decoration: none;
  color: #e0e8ef;
  font-size: 18.5px;
}

#forgot:hover {
  color: #000;
  transition: 0.3s;
}

.buttons-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 20px;
  gap: 15px;
}

.apple-login-button,
.google-login-button {
  border-radius: 20px;
  box-sizing: border-box;
  padding: 10px 15px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
    rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  font-size: 11px;
  gap: 5px;
}

.apple-login-button {
  background-color: #000;
  color: #fff;
  border: 2px solid #000;
}

.google-login-button {
  border: 2px solid #747474;
  background-color: #ffffff;

}

.apple-icon,
.google-icon {
  font-size: 18px;
  margin-bottom: 1px;
}

@media screen and (max-width: 442px) {
  #sabt1 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    
    padding: 10px;

  }
}